﻿namespace DX
{
    public interface ISerializeProvider
    {
 

        T Deserialize<T>(string json);

        string Serialize(object obj);
    }

    public interface IBufferSerializeProvider
    {


        T Deserialize<T>(byte[] buffer);

        byte[] Serialize(object obj);
    }
}
